package com.ruoyi.entity.service.impl;

import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.entity.mapper.RecommendMapper;
import com.ruoyi.entity.domain.Recommend;
import com.ruoyi.entity.service.IRecommendService;

/**
 * 推荐Service业务层处理
 *
 * @author Delamer
 * @date 2020-12-30
 */
@Service
public class RecommendServiceImpl extends ServiceImpl<RecommendMapper, Recommend> implements IRecommendService {
    public Recommend getCurrentRecommend(){
        return baseMapper.getCurrentRecommend();
    }
}
